'use strict';
const BaseController = require('../base');

class RouterController extends BaseController {
  static get serviceName() {
    return 'business.supplier';
  }

  // 供应商小程序登录
  async login() {
    const { ctx } = this;
    const result = await this.service.login(ctx.request.body);
    this.ctx.success(result)
  }
}
module.exports = RouterController;
